﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;

namespace EcoSystem
{
    /// <summary>
    /// 显示规则选项参数类
    /// </summary>
    [NotMapped]
    [Serializable]
    public class DisplayRoleOption
    {
        /// <summary>
        /// 规则对应的显示状态（true表示显示、false表示隐藏）
        /// </summary>
        public bool Visible { get; set; }

        /// <summary>
        /// 条件规则数据
        /// </summary>
        public List<RoleConditionItem> Roles { get; set; }
    }

}
